package cn.xiaoliu.pay.service;

import cn.xiaoliu.basic.service.IBaseService;
import cn.xiaoliu.pay.domain.PayBill;

public interface IPayBillService extends IBaseService<PayBill> {
    /**
     * 生成支付订单
     * @param bill
     * @return
     */
    String pay(PayBill bill);

    /**
     * 根据唯一标识获取支付订单
     * @param unionPaySn
     * @return
     */
    PayBill loadByUnionPaySn(String unionPaySn);
}
